(ns acst.routes.index
  (:use acst.config.error-config
        acst.config.success-config)
  (:require [noir.util.crypt :as crypt]
            [noir.session :as session]
            [noir.validation :as vali]
            [selmer.parser :as parser]
            [ring.middleware.anti-forgery :as af]
            [compojure.core :refer :all]
            [acst.models.users :as users :refer [register! find-user]]
            [clojure.data.json :as json]))


(defn index []
  (parser/render-file
    "home.html"
    {}))

(defroutes index-routes
  (GET "/" [] (index)))